package com.codechuan.didi_hack;

import android.app.Application;

import com.codechuan.didi_hack.common.Constant;
import com.codechuan.didi_hack.utils.ContextUtils;

import java.text.SimpleDateFormat;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;


public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        ContextUtils.application = this;
        Constant.executorService = Executors.newFixedThreadPool(5);
        Constant.format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    }
}